a=-10
b=4.4
print(abs(a))
#print(ceil(b))
print(pow(2,4))
print("我叫 %s 今年 %d 岁！" % ('小明',10))

errHTML = '''
<HTML><HEAD><TITLE>
Friends CGI Demo</TITLE></HEAD>
<BODY><H3>ERROR</H3>
<B>%s</B><P>
<FORM><INPUT TYPE=button VALUE=Back
ONCLICK="window.history.back()"></FORM>
</BODY></HTML>
'''
#print(errHTML)
str='我是一个兵'
str_utf = str.encode("UTF-8")
str_gbk = str.encode('GBK')
print(str_utf)
print(str_gbk)
print(str_utf.decode("UTF-8"))